﻿// DlgSettingAdv.cpp : 实现文件
//

#include "stdafx.h"
#include "POSCheck.h"
#include "DlgSettingAdv.h"
#include "afxdialogex.h"


// CDlgSettingAdv 对话框

IMPLEMENT_DYNAMIC(CDlgSettingAdv, CDialogEx)

CDlgSettingAdv::CDlgSettingAdv(CWnd* pParent /*=NULL*/)
	: CDialogEx(CDlgSettingAdv::IDD, pParent)
    , m_bPT(false)
{

}

CDlgSettingAdv::~CDlgSettingAdv()
{
}

void CDlgSettingAdv::DoDataExchange(CDataExchange* pDX)
{
	CDialogEx::DoDataExchange(pDX);

    DDX_Check(pDX, IDC_CHK_PT, m_bPT);
}


BEGIN_MESSAGE_MAP(CDlgSettingAdv, CDialogEx)
    ON_BN_CLICKED(IDOK, &CDlgSettingAdv::OnBnClickedOk)
    //DDX_Check(pDX, IDC_CHECK_FLAG, m_bNeedCheck);
    ON_BN_CLICKED(IDC_CHK_PT, &CDlgSettingAdv::OnBnClickedChkPt)
END_MESSAGE_MAP()


// CDlgSettingAdv 消息处理程序


void CDlgSettingAdv::OnBnClickedOk()
{
    CDialogEx::OnOK();
}


void CDlgSettingAdv::OnBnClickedChkPt()
{
    UpdateData(TRUE);
}
